FROM debezium/connect:1.7

ARG active=dev

ADD config/$active/connect-distributed.properties /acs/config/
ADD config/$active/log4j.properties /kafka/config/

RUN rm -rf /kafka/connect/debezium-connector-mysql/*
ADD ./plugins/* /kafka/connect/debezium-connector-mysql/
ADD ./docker-entrypoint.sh /
